//
//  LHQWebViewController.m
//  God_is_a_Girl
//
//  Created by 杨文鹏 on 15/10/7.
//  Copyright (c) 2015年 呸. All rights reserved.
//

#import "LHQWebViewController.h"

@interface LHQWebViewController () <UIWebViewDelegate>

@property (nonatomic,retain) UIWebView *webview;


@end

@implementation LHQWebViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.view.backgroundColor = [UIColor whiteColor];
    
    NSLog(@"%@",self.str);
    self.webview = [[UIWebView alloc]initWithFrame:CGRectMake(0, -60, self.view.frame.size.width, self.view.frame.size.height+110)];
    [self.view addSubview:self.webview];
    self.webview.scrollView.bounces = NO;
    [self.webview loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://web.breadtrip.com%@",self.str]]]];
    self.webview.delegate = self;
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
